//package com.pig4cloud.pig.flow.camundaListener;//package org.mobai.flow.camundaListener;
//
//import lombok.AllArgsConstructor;
//import org.camunda.bpm.engine.FormService;
//import org.camunda.bpm.engine.HistoryService;
//import org.camunda.bpm.engine.RepositoryService;
//import org.camunda.bpm.engine.TaskService;
//import org.camunda.bpm.spring.boot.starter.event.TaskEvent;
//import org.springframework.context.event.EventListener;
//import org.springframework.stereotype.Component;
//
///**
// * @author Administrator
// */
//@Component
//@AllArgsConstructor
//public class TaskListener {
//    private final RepositoryService repositoryService;
//    private final HistoryService historyService;
//    private final TaskService taskService;
//    private final FormService formService;
//
//    @EventListener
//    public void onTaskEvent(TaskEvent taskEvent) {
////		formService.
////		formService.get
//        System.out.println("taskId:" + taskEvent.getId());
//    }
//}
